//入口函数
import Vue from 'vue'
import App from './App.vue'

//按需引入mint-ui
import { Header, Swipe, SwipeItem } from 'mint-ui';
Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);

//引入MUI
import './lib/mui/css/mui.css'
import './lib/mui/css/icons-extra.css'

//引入router
import VueRouter from 'vue-router'
Vue.use(VueRouter)

import router from './router.js'

//导入vue-resource
import VueResource from 'vue-resource'
Vue.use(VueResource)

var vm = new Vue({
    el:'#app',
    data:{},
    methods: {
        
    },
    render: c=>c(App),
    router
})